TaxCalculationProvider

The TaxCalculationProvider section of the web.config file allows you to assign a tax calculation provider for your KommerceServer system, which determines how sales tax will be calculated on orders. You can only select one provider to use for each KommerceServer website by setting the default attribute for the element. Nested within this element are the available providers supported and further described below.

Attribute

Use

KoreTaxCalculationProvider

Uses a simple lookup of the tax rate assigned to each shipping address for customers. This provider is dependent on the data sent from the back office through the KS_SALES_TAX, KS_CUSTOMERS, and KS_SHIP_ADDRS APIs. For new customers or drop shipments, tax can only be estimated by choosing the highest tax code for the ship to state for the order.

KourierTaxCalculationProvider

Works in conjunction with the Kourier REST endpoint. At checkout, KommerceServer will pass the cart contents to the back office Kourier service KS_SALES_TAX, which will be responsible for sales tax calculation.

MicroAireTaxCalculationProvider

Custom provider for a specific customer. Contact Kore for any custom development requests.

Example Usage

<TaxCalculationProvider default="KoreTaxCalculationProvider">
   <providers>
     <clear />
     <add name="KoreTaxCalculationProvider" type="Koretech.KommerceServer.Providers.KoreTaxCalculationProvider, Koretech.KommerceServer" />
     <add name="KourierTaxCalculationProvider" type="Koretech.KommerceServer.Providers.KourierTaxCalculationProvider, Koretech.KommerceServer" />
     <add name="MicroAireTaxCalculationProvider" type="Koretech.KommerceServer.Providers.MicroAireTaxCalculationProvider, Koretech.KommerceServer" />
   </providers>
</TaxCalculationProvider>